compareTo

(alias) pure function compareTo(other: text): integer

Deprecated

Use 'compare_to' instead

Compares this text to another text.

Alias

Alias target

Return

the value 0 if equal, a negative number if less than other, or a value greater than 0 if greater than other.

Since

0.9.0

Parameters

other

The text to compare to.